package com.bblocks.communityInfo.client;


import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

/**
 * APP端团购列表Dto
 */
@Schema(description="团购列表项")
public class AppGroupDto {
	
	@Schema(description="活动的唯一标识")
	private Long id;
		
	@Schema(description="团购活动名称")
	private String groupName; 
	
	@Schema(description="团购活动图片")
	private String groupImage; 
		
	@Schema(description="团购活动开始时间")
	private Date startTime; 
		
	@Schema(description="团购活动结束时间")
	private Date endTime; 
		
	@Schema(description="团购活动的商品ID", hidden = true)
	private Long productId; 
		
	@Schema(description="团购活动的所属店铺ID", hidden = true)
	private Long shopId; 
		
	@Schema(description="团购活动的所属店铺名", hidden = true)
	private String shopName; 
		
	@Schema(description="团购价格")
	private java.math.BigDecimal groupPrice;
	
	@Schema(description="团购状态")
	private Integer status;
		
	@Schema(description="已购买人数")
	private Long buyerCount; 
		
	@Schema(description="每人限购数量", hidden = true)
	private Integer buyQuantity; 
	
	@Schema(description="成团人数, 暂时没用", hidden = true)
	private Integer peopleCount;

	/**分类名称 */
	@Schema(description="分类名称")
	private String categoryName;

	/** 团购1级分类ID */
	@Schema(description="团购1级分类ID")
	private Long firstCatId;

	@Schema(description="查看次数")
	private Integer viewCount;

	@Schema(description="开始时间（其实是审核时间）")
	private Date auditTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupImage() {
		return groupImage;
	}

	public void setGroupImage(String groupImage) {
		this.groupImage = groupImage;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getShopId() {
		return shopId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public java.math.BigDecimal getGroupPrice() {
		return groupPrice;
	}

	public void setGroupPrice(java.math.BigDecimal groupPrice) {
		this.groupPrice = groupPrice;
	}

	public Long getBuyerCount() {
		return buyerCount;
	}

	public void setBuyerCount(Long buyerCount) {
		this.buyerCount = buyerCount;
	}

	public Integer getBuyQuantity() {
		return buyQuantity;
	}

	public void setBuyQuantity(Integer buyQuantity) {
		this.buyQuantity = buyQuantity;
	}

	public Integer getPeopleCount() {
		return peopleCount;
	}

	public void setPeopleCount(Integer peopleCount) {
		this.peopleCount = peopleCount;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Long getFirstCatId() {
		return firstCatId;
	}

	public void setFirstCatId(Long firstCatId) {
		this.firstCatId = firstCatId;
	}

	public Integer getViewCount() {
		return viewCount;
	}

	public void setViewCount(Integer viewCount) {
		this.viewCount = viewCount;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}
}
